package cn.buk.tms.flight.service;

import cn.buk.common.JsonResult;
import cn.buk.common.sc.CommonSearchCriteria;
import cn.buk.tms.flight.dto.KeyCustomerPolicyDto;

import java.util.List;

/**
 * 机票大客户政策
 * @author yfdai
 */
public interface FlightKeyCustomerPolicyService {

    /**
     * 保存机票大客户政策
     * @param enterpriseId
     * @param dto
     * @return
     */
    JsonResult saveKeyCustomerPolicy(int enterpriseId, KeyCustomerPolicyDto dto);

    /**
     * 查找机票大客户政策
     * @param enterpriseId
     * @param sc
     * @return
     */
    List<KeyCustomerPolicyDto> searchKeyCustomerPolicies(int enterpriseId, CommonSearchCriteria sc);
}
